#!/bin/sh

# Makefile
#
#
# Created by Shuqiao Guo on 12/20/11.
# Copyright 2011 Thothe. All rights reserved.


OBJS = db.o BufferManager.o DatabaseManager.o Transaction.o
CC = g++
CFLAGS = -I../../include
LFLAGS = -o

all : $(OBJS)
	cp *.o ../

db.o : db.cpp
	$(CC) $(CFLAGS) -c db.cpp

BufferManager.o : BufferManager.cpp
	$(CC) $(CFLAGS) -c BufferManager.cpp

DatabaseManager.o : DatabaseManager.cpp
	$(CC) $(CFLAGS) -c DatabaseManager.cpp

Transaction.o : Transaction.cpp
	$(CC) $(CFLAGS) -c Transaction.cpp

.PHONY: clean

clean :
	rm $(OBJS) 
